.audio {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.debug {
  position: absolute;
  z-index: 2;
  background-color: #fff;
  width: 1000px;
  height: 300px;
}
#local_stream {
  height: 100%;
  position: relative;
  z-index: 2;
}
#newCall {
  height: 100%;
}
.green {
  background-color: #30dd41;
}
.red {
  background-color: #eb3223;
}
.gray {
  background-color: #ababab;
}
.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .wrap {
  position: relative;
  width: 800px;
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
  border-radius: 10px;
  background-color: rgba(237, 245, 255, 0.94);
}
.modal .close {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: #dc372a;
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}
.modal .title {
  font-size: 40px;
  margin-bottom: 60px;
}
.modal .btns {
  font-size: 28px;
}
.modal .btns .off,
.modal .btns .on {
  border: none;
  color: #fff;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 6px;
}
.modal .btns .off {
  background-color: #dc372a;
  margin-right: 30px;
}
.modal .btns .on {
  background-color: #2faf2c;
}
.container {
  display: flex;
  height: 100%;
  padding: 0 50px;
  margin: 0 auto;
}
.container .main {
  position: relative;
  background: url('../img/remote.png') top center no-repeat;
  background-size: 100% 100%;
  width: 1160px;
  min-width: 1160px;
  height: 977px;
  margin-right: 95px;
}
.container .main .remoteBox {
  position: absolute;
  top: 96px;
  left: 65px;
  width: 1030px;
  height: 681px;
}
.container .main .remoteBox > div {
  height: 100%;
}
.container .main .statusList {
  position: absolute;
  top: 517px;
  left: 50%;
  margin-left: -195px;
  width: 390px;
  height: 260px;
  background-color: rgba(23, 20, 65, 0.95);
  border: 1px solid #535071;
  border-radius: 4px 4px 0px 0px;
  overflow-y: auto;
}
.container .main .statusList::-webkit-scrollbar {
  width: 4px;
}
.container .main .statusList::-webkit-scrollbar-thumb {
  background-color: #535071;
}
.container .main .statusList::-webkit-scrollbar-track {
  background-color: #fff;
}
.container .main .statusList ul {
  padding: 10px 30px;
}
.container .main .statusList ul li {
  position: relative;
  padding: 15px 0;
  font-size: 22px;
  color: #fff;
  border-bottom: 1px solid #535071;
  cursor: pointer;
}
.container .main .statusList ul li:hover .text {
  color: #faf51f;
}
.container .main .statusList ul li:last-child {
  border-bottom: none;
}
.container .main .statusList ul li .text {
  display: inline-block;
  max-width: 240px;
}
.container .main .statusList ul li .zt {
  position: absolute;
  right: 0;
}
.container .main .statusList ul li .zt i {
  display: inline-block;
  margin-right: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.container .main .remoteTitle {
  position: absolute;
  top: 777px;
  left: 65px;
  width: 1030px;
  height: 78px;
  line-height: 78px;
  background-color: #2b2d55;
  text-align: center;
}
.container .main .remoteTitle .groupItem {
  position: relative;
  display: inline-block;
  padding-right: 50px;
}
.container .main .remoteTitle .groupItem .dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 30px;
  border-radius: 50%;
}
.container .main .remoteTitle .groupItem .text {
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}
.container .main .remoteTitle .groupItem .arrow {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -12px;
  height: 24px;
  width: 38px;
  background: url('../img/arrow_down.png') no-repeat;
  background-size: 100% 100%;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center 40%;
}
.container .main .remoteTitle .groupItem .active {
  transform: rotateZ(180deg);
}
.container .side {
  position: relative;
  margin-top: 120px;
  width: 500px;
  min-width: 500px;
  height: 760px;
  background: url('../img/local.png') no-repeat;
  background-size: 100% 100%;
  padding: 36px 58px 0 54px;
}
.container .side .text {
  height: 67px;
  position: relative;
}
.container .side .text .fromCall {
  position: relative;
  height: 67px;
  line-height: 67px;
  margin: 0 20px;
  color: #fff;
  font-size: 20px;
}
.container .side .text .fromCall .item {
  display: inline-block;
  width: 290px;
  max-width: 290px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}
.container .side .text .fromCall .icon {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -12px;
  height: 24px;
  width: 38px;
  background: url('../img/arrow.png') no-repeat;
  background-size: 100% 100%;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.container .side .text .fromCall .revert {
  transform: rotateZ(180deg);
}
.container .side .text .fromCallNum {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  background-color: #eb3223;
  color: #fff;
  cursor: pointer;
}
.container .side .fromCallList {
  position: absolute;
  z-index: 8;
  top: 103px;
  left: 54px;
  width: 388px;
  height: 432px;
  background-color: rgba(23, 20, 65, 0.95);
  overflow-y: auto;
}
.container .side .fromCallList::-webkit-scrollbar {
  width: 4px;
}
.container .side .fromCallList::-webkit-scrollbar-thumb {
  background-color: #535071;
}
.container .side .fromCallList::-webkit-scrollbar-track {
  background-color: #fff;
}
.container .side .fromCallList ul {
  padding: 10px 30px;
}
.container .side .fromCallList ul li {
  position: relative;
  padding: 15px 0;
  font-size: 20px;
  color: #fff;
  border-bottom: 1px solid #535071;
}
.container .side .fromCallList ul li:last-child {
  border-bottom: none;
}
.container .side .fromCallList ul li .text2 {
  display: inline-block;
  max-width: 240px;
}
.container .side .fromCallList ul li .zt {
  position: absolute;
  right: 0;
}
.container .side .fromCallList ul li .zt .call,
.container .side .fromCallList ul li .zt .offcall {
  display: inline-block;
  width: 28px;
  height: 28px;
}
.container .side .fromCallList ul li .zt .call {
  margin-right: 10px;
  background: url('../img/call-icon1.png') no-repeat;
}
.container .side .fromCallList ul li .zt .offcall {
  background: url('../img/call-icon2.png') no-repeat;
}
.container .side .fromCallList ul li .zt i {
  display: inline-block;
  margin-right: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.container .side .video {
  position: relative;
  margin-top: 34px;
  height: 398px;
}
.container .side .title {
  height: 66px;
  line-height: 66px;
  text-align: center;
  font-size: 28px;
  color: #fff;
}
.container .side .btns {
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container .side .btns .call,
.container .side .btns .off {
  width: 152px;
  height: 150px;
  cursor: pointer;
}
.container .side .btns .call {
  background: url('../img/on.png') no-repeat;
}
.container .side .btns .off {
  background: url('../img/off.png') no-repeat;
}
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  .container .main {
    position: relative;
    background-size: 100% 100%;
    width: 640px;
    min-width: 640px;
    height: 768px;
    margin-right: 20px;
  }
  .container .main .remoteBox {
    position: absolute;
    top: 75px;
    left: 36px;
    width: 568px;
    height: 547px;
    background-size: 80% auto;
  }
  .container .main .remoteTitle {
    top: 622px;
    left: 37px;
    width: 567px;
    height: 50px;
    line-height: 50px;
    background-color: #2b2d55;
    text-align: center;
  }
  .container .main .remoteTitle .groupItem .text {
    font-size: 22px;
  }
  .container .side {
    position: relative;
    margin-top: 46px;
    width: 324px;
    min-width: 324px;
    height: 670px;
    background-size: 100% 100%;
    padding: 33px 37px 0 34px;
  }
  .container .side .fromCallList {
    top: 91px;
    left: 34px;
    width: 253px;
    height: 381px;
  }
  .container .side .fromCallList ul {
    padding: 10px 8px;
  }
  .container .side .fromCallList ul li {
    padding: 14px 0;
    font-size: 14px;
  }
  .container .side .text {
    height: 58px;
  }
  .container .side .text .fromCall {
    height: 58px;
    line-height: 58px;
    margin: 0 10px;
    color: #fff;
    font-size: 14px;
  }
  .container .side .text .fromCall .item {
    width: 200px;
    max-width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
  }
  .container .side .video {
    margin-top: 28px;
    height: 353px;
    background-size: 100% 80%;
  }
  .container .side .title {
    height: 58px;
    line-height: 58px;
    text-align: center;
    font-size: 18px;
    color: #fff;
  }
  .container .side .btns {
    height: 138px;
  }
  .container .side .btns .call,
  .container .side .btns .off {
    width: 128px;
    height: 128px;
    cursor: pointer;
    background-size: contain;
  }
}
